package org.brisling.duties.domain;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.brisling.base.domain.impl.BaseFlowDomain;
import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.base.domain.inf.BaseInquiryDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

@Entity
@Table(name=ConstSysParam.MODULE_DUTIES_INQUIRY)
public class DutiesInquiry extends BaseFlowDomain implements BaseFlowDomainInf,BaseInquiryDomainInf{

	
	//从父类继承
//	private Long deptid;
	/*
	 * 质询类型：
	 * 1、部门类质询
	 * 2、人员类质询
	 * 3、业务类质询
	 */
	private String inquiryType;
	
	/*
	 * 质询事项类别
	 */
	private String inquiry_item;
	
	/*
	 * 质询事项类别代码
	 */
	private String inquiry_item_code;
	
	/*
	 * 质询事项类型
	 */
	private String inquiry_item_sub;
	
	/*
	 * 质询事项类型代码
	 */
	private String inquiry_item_subcode;
	/*
	 * 质询原因
	 */
	private String inquiry_reason;
	
	/*
	 * 质询日期
	 */
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date inquiry_date;
	/*
	 * 质询事项起始时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date startDate;
	
	/*
	 * 质询事项结束时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date endDate;
	
	/*
	 * 当事人
	 */
	private Long litigant_id;
	

	private String litigant_name;
	
	/*
	 * 当事部门
	 */
	private Long litigant_deptid;
	
	
	private String litigant_deptname;
	
	/*质询次数
	 * */
	private Long summy_count;
	
	/*
	 * 责任人辩解
	 */
	private String litigant_content;
	
	/*
	 * 裁决人
	 */
	private Long decide_id;
	
	private String decide_name;
	
	private String decide_deptid;
	
	private String decide_deptname;
	/*
	 * 裁决人意见
	 */
	private String decide_content;
	/*
	 * 裁决结果
	 */
	private String decide_result;
	
	private String decide_result_code;
	
	/*
	 * 认定人
	 */
	private Long affirm_id;	
	
	private String affirm_name;
	
	private Long affirm_deptid;
	private String affirm_deptname;
	/*
	 * 认定意见
	 */
	private String affirm_content;
	private String affirm_result;
	
	private String affirm_result_code;
	@Transient
	private String issue;
	
	
	public String getInquiryType() {
		return inquiryType;
	}
	public void setInquiryType(String inquiryType) {
		this.inquiryType = inquiryType;
	}
	
	public String getInquiry_reason() {
		return inquiry_reason;
	}
	public void setInquiry_reason(String inquiry_reason) {
		this.inquiry_reason = inquiry_reason;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Long getLitigant_id() {
		return litigant_id;
	}
	public void setLitigant_id(Long litigant_id) {
		this.litigant_id = litigant_id;
	}
	public String getLitigant_name() {
		return litigant_name;
	}
	public void setLitigant_name(String litigant_name) {
		this.litigant_name = litigant_name;
	}
	public Long getLitigant_deptid() {
		return litigant_deptid;
	}
	public void setLitigant_deptid(Long litigant_deptid) {
		this.litigant_deptid = litigant_deptid;
	}
	public String getLitigant_deptname() {
		return litigant_deptname;
	}
	public void setLitigant_deptname(String litigant_deptname) {
		this.litigant_deptname = litigant_deptname;
	}
	public Long getDecide_id() {
		return decide_id;
	}
	public void setDecide_id(Long decide_id) {
		this.decide_id = decide_id;
	}
	public String getDecide_name() {
		return decide_name;
	}
	public void setDecide_name(String decide_name) {
		this.decide_name = decide_name;
	}
	public String getDecide_deptid() {
		return decide_deptid;
	}
	public void setDecide_deptid(String decide_deptid) {
		this.decide_deptid = decide_deptid;
	}
	public String getDecide_deptname() {
		return decide_deptname;
	}
	public void setDecide_deptname(String decide_deptname) {
		this.decide_deptname = decide_deptname;
	}
	public Long getAffirm_id() {
		return affirm_id;
	}
	public void setAffirm_id(Long affirm_id) {
		this.affirm_id = affirm_id;
	}
	public String getAffirm_name() {
		return affirm_name;
	}
	public void setAffirm_name(String affirm_name) {
		this.affirm_name = affirm_name;
	}
	public Long getAffirm_deptid() {
		return affirm_deptid;
	}
	public void setAffirm_deptid(Long affirm_deptid) {
		this.affirm_deptid = affirm_deptid;
	}
	public String getAffirm_deptname() {
		return affirm_deptname;
	}
	public void setAffirm_deptname(String affirm_deptname) {
		this.affirm_deptname = affirm_deptname;
	}
	
	public String getLitigant_content() {
		return litigant_content;
	}
	public void setLitigant_content(String litigant_content) {
		this.litigant_content = litigant_content;
	}
	public String getDecide_content() {
		return decide_content;
	}
	public void setDecide_content(String decide_content) {
		this.decide_content = decide_content;
	}
	public String getDecide_result() {
		return decide_result;
	}
	public void setDecide_result(String decide_result) {
		this.decide_result = decide_result;
	}
	public String getAffirm_content() {
		return affirm_content;
	}
	public void setAffirm_content(String affirm_content) {
		this.affirm_content = affirm_content;
	}
	public String getAffirm_result() {
		return affirm_result;
	}
	public void setAffirm_result(String affirm_result) {
		this.affirm_result = affirm_result;
	}
	public String getInquiry_item() {
		return inquiry_item;
	}
	public void setInquiry_item(String inquiry_item) {
		this.inquiry_item = inquiry_item;
	}
	public String getInquiry_item_code() {
		return inquiry_item_code;
	}
	public void setInquiry_item_code(String inquiry_item_code) {
		this.inquiry_item_code = inquiry_item_code;
	}
	public Date getInquiry_date() {
		return inquiry_date;
	}
	public void setInquiry_date(Date inquiry_date) {
		this.inquiry_date = inquiry_date;
	}
	public String getInquiry_item_sub() {
		return inquiry_item_sub;
	}
	public void setInquiry_item_sub(String inquiry_item_sub) {
		this.inquiry_item_sub = inquiry_item_sub;
	}
	public String getInquiry_item_subcode() {
		return inquiry_item_subcode;
	}
	public void setInquiry_item_subcode(String inquiry_item_subcode) {
		this.inquiry_item_subcode = inquiry_item_subcode;
	}
	public String getDecide_result_code() {
		return decide_result_code;
	}
	public void setDecide_result_code(String decide_result_code) {
		this.decide_result_code = decide_result_code;
	}
	public String getAffirm_result_code() {
		return affirm_result_code;
	}
	public void setAffirm_result_code(String affirm_result_code) {
		this.affirm_result_code = affirm_result_code;
	}
	public String getIssue() {
		return issue;
	}
	public void setIssue(String issue) {
		this.issue = issue;
	}
	public Long getSummy_count() {
		return summy_count;
	}
	public void setSummy_count(Long summy_count) {
		this.summy_count = summy_count;
	}
	
}
